feat(formatter): Support Vitest test functions#17340
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Performance ReportMerging #17340 will not alter performanceComparing Summary
Footnotes
|
Merge activity
|
If approved, I may send a PR to Prettier too.
Fixes #17272 --- This PR adds our missing test functions vs Prettier. However, Prettier only supports: https://github.com/prettier/prettier/blob/cd0c3292d303f3e0cbab2530045cfc06d6609d25/src/language-js/utilities/index.js#L298-L325 And we(Biome) already support extra variants like `Deno.test()`. I also noticed that Biome has added more variants, such as Vitest test functions. I think it's OK to follow these, but it means the difference with Prettier becomes wider. How do you think? (draft: #17340)
f89d9c8 to
e836f37
Compare
d36b956 to
7c3dae3
Compare

If approved, I may send a PR to Prettier too.